//
//  CustomSwitch.h
//  YouinRTCDemo
//
//  Created by 潘欣 on 2023/11/17.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol CustomSwitchDelegate <NSObject>

- (void)switchWithSelected:(BOOL)isSelected;

@end

@interface CustomSwitch : UIButton
@property(nonatomic,weak)id<CustomSwitchDelegate>delegate;
@end

NS_ASSUME_NONNULL_END
